{% extends "base/base.html" %}
{% import "macro/display.html" as display -%}
{% block title %}{{ gettext("List Of Songs By Year") }}{% endblock %}

{% block main %}
    <h2>
        <img class="icon_header" src="{{ STATIC_URL }}music.png" alt="" />
        {{ gettext("List Of Songs For Year: ") }}{{ year }}
    </h2>

    {% for l in al %}
        <a href="{{ url(letter_url_name, l) }}">
            {{ l|upper }}
        </a>
    {% endfor %}
    
    [<a href="{{ url ("dv-year", year) }}">{{ gettext("All Songs For ") }}{{ year }}</a>]

    <br /><br />

    {% set objs, paging = dv.paginate(object_list) %}

    {{ display.songslist(objs, user, desc_function = desc_function) }}

    <p>{{ paging }}</p>
{% endblock %}
